package com.eleclab.modele;

import com.eleclab.traitement.Complexe;

import java.awt.Rectangle;

public class Masse extends Composant{
    
    public Masse(Composant aPrev1, Composant aPrev2) {
        this.prev1 = aPrev1;
        this.prev2 = aPrev2;
        this.next1 = null;
        this.next2 = null;
        this.setNom("Masse");
        this.dimensions = new Rectangle(50,300, 52,80);
    }

    public void setValeur(float newValeur) {
        this.impedance = null;
    }

    public void calculImpedance() {
        this.impedance = null;
    }
    
    public float getValeur() {
        return 0;
    }
    
    public Complexe calculImpedanceGraph(float w){
        return new Complexe(0,0);
    }
}
